//
//  DCResponseData.m
//  Demo
//
//  Created by Kyle on 2022/12/31.
//

#import "DCResponseData.h"

@implementation DCResponseData
+ (id)CreatResponseDataWithDictionary:(NSDictionary *)dic {
    DCResponseData *data = [DCResponseData new];
    data.code = [[NSString stringWithFormat:@"%@",dic[@"code"]] integerValue];
    data.message = dic[@"message"];
    data.data = dic[@"data"];
    return data;
}
@end
